<div class="contenedorTabla">
  <div class="contenedorTablaHeader">
    <span class="tituloTabla">Catálogo de Destinos</span>
    <ul class="labelTable">
      <!--li><span class="label label-azul">4 Items</span></li-->
      <li>
        <div class="searchInput">
          <i class="icon icon-search"></i>
          <input type="text" class="search-query search" placeholder="Ingrese su busqueda"/>
        </div>

        <div class="tableButtonNew">
          <%= link_to new_destino_path, :method => :get, :rel => "tooltip", "data-placement" => "top", "data-original-title" => "Agregar Destino" do %>
              <i class="icon-plus icon-white"></i>
          <% end %>
        </div>
      </li>
    </ul>
  </div>

  <div class="contenedorTablaCuerpo">

    <table id="tblData" class="table table-striped table-bordered table-hover table-clientes">
      <thead>
        <tr>
         <th>Descripcion</th>
         <th>Direccion</th>
         <th>Telefono</th>
         <th>Contacto</th>
         <th></th>
         <th></th>
         <th></th>
       </tr>         
      </thead>

      <tbody>
       <% @destinos.each do |destino| %>
         <tr>
           <td><%= link_to destino.Descripcion, destino %></td>
           <td><%= destino.Direccion %></td>
           <td><%= destino.Telefono %></td>
           <td><%= destino.Contacto %></td>
           <td>
               <%= link_to edit_destino_path(destino), :rel => "tooltip", "data-placement" => "top", "data-original-title" => "Editar", :class => "btn btn-mini" do %>
                   <i class="icon-pencil"></i>
               <% end %>
               <%= link_to destino, :method => :delete, :data => { :confirm => '¿Seguro que desea eliminar el Destino?' }, :rel => "nofollow", "data-placement" => "top", "data-original-title" => "Eliminar", :class => "btn btn-mini btn-danger"  do %>
                   <i class="icon-trash icon-white"></i>
               <% end %>
           </td>

         </tr>
         <% end %>
       </tbody>
      </table>
  </div>

  <div class="footerTabla">
  </div>
</div>

